package cn.itcast.webservice;

public class WeatherService implements IWeatherService {

	public String getWeatherByCityName(String cityName) {
		if("北京".equals(cityName)){
			return "晴";
		}else if("成都".equals(cityName)){
			return "小雨";
		}
		return "查询失败";
	}

}
